import * as Koa from 'koa';

export default class Application {
    public static readonly Instance: Application = new Application();

    private app: Koa;

    public getApp() {
        if (this.app) {
            return this.app;
        } else {
            this.app = new Koa();
            return this.app;
        }
    }
}
